import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/home',
      name: 'home',
      component: require('@/view/index').default
    },
    {
      path: '/login',
      name: 'login',
      component: require('@/view/login').default
    }
    // {
    //   path: '/',
    //   name: 'login',
    //   component: require('@/view/login').default
    // },
  ]
})
